#ifndef FLASH_H_
#define FLASH_H_

#include "stdio.h"

extern void WaitFlashReady(void);
extern void FlashErase(uint16_t pageIndex);
extern int FlashWrite(uint16_t startAddress, char *buffer, int lenb);
extern int FlashRead(int startAddress, char *buffer, int lenb);

#endif
